package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class LxmSysExamineRecordRowMapper implements RowMapper<LxmSysExamineRecord> {
    @Override
    public LxmSysExamineRecord mapRow(ResultSet rs, int rowNum) throws SQLException {
        LxmSysExamineRecord lr=new LxmSysExamineRecord();
        lr.setId(rs.getInt("id"));
        lr.setExamine_date(rs.getDate("examine_date"));
        lr.setExamine_detail(rs.getString("examine_detail"));
        lr.setExamine_person(rs.getString("examine_person"));
        lr.setError_number(rs.getString("error_number"));
        return lr;
    }
}
